package org.example.sduty.mqtt.b;

import lombok.Getter;
import lombok.Setter;

import java.util.concurrent.CountDownLatch;

/**
 * @program: rabbitmq-study
 * @description:
 * @Version V1.0.0
 * @author: dazhi
 * @create: 2022-01-07 16:20
 **/
@Getter
@Setter
public class WebsocketContext {

    /**
     * 计数器(用于监听是否返回结果)
     */
    private CountDownLatch countDownLatch;

    /**
     * 最终结果
     */
    private String result;

    public WebsocketContext(CountDownLatch countDownLatch) {
        this.countDownLatch = countDownLatch;
    }


}
